package com.baizhi.service;

import com.baizhi.entity.Employee;

import java.util.List;

public interface EmployeeService {
    /*查所有*/
    public List<Employee> queryAll();
    /*查一个*/
    public Employee queryOne(Integer eid);
    /*增*/
    public void add(Employee employee);
    /*删*/
    public void drop(Integer eid);
    /*改*/
    public void modify(Employee employee);

    /*分页查询*/
    public List<Employee> queryByPage(int pageNumber);
    /*获取总页数*/
    public int getTotalPage();

    /*批量删除*/
    public void plDelete(int[] eids);
}
